package com.th.system.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author ValcanoZz
 * @creat 2023-06-22-21:56
 */

@Data
@ApiModel("订单表")
@TableName("us_order")
public class UsOrder {

    @ApiModelProperty
    private Long id;

    @ApiModelProperty
    private Long userId;

    @ApiModelProperty
    private Integer status;

    @ApiModelProperty("任务标题")
    private String title;

    @ApiModelProperty
    private Integer amount;

    @ApiModelProperty
    private Integer deposit;

    @ApiModelProperty
    private LocalDateTime deadline;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty
    private LocalDateTime updateTime;
}
